package t327.mapper;


import t327.pojo.ProductionPlan;
import t327.pojo.Submission;
import t327.pojo.views.PlanOrderProductionStyleView;
import t327.pojo.views.ProductionPlanOrderSizeDepartmentView;
import t327.pojo.views.SubmissionOrderProductStyleDepartmentSizeView;

import java.util.List;

public interface SewingManageMapper {
    List<PlanOrderProductionStyleView> getAllPlanOrderSizeView();
    //添加缝纫
    int addSubmission(Submission submission);
    //查询生产
    List<SubmissionOrderProductStyleDepartmentSizeView> queryAllSubmission();

    //根据计划生产id来查询计划生产数量
    ProductionPlan getProductById(Long productionPlanId);

    //根据生产id来查询生产数量
    List<Submission> getSubmissionCountByPlanId(Long productionPlanId);
}
